<?php
/**
 * Created by PhpStorm.
 * User: Venki
 * Date: 2021/3/17
 * Time: 14:08
 */

use App\Exceptions\Admin\V1\AdminException;

/**
 * Created by PhpStorm.
 * User: ASUS
 * Date: 2019-10-18
 * Time: 15:00
 */

return [
    /**Admin--BEGIN--**/
    AdminException::ADMIN_LOGIN_RETRIEVE_INVALID => '登录失败',
    AdminException::ADMIN_ADMIN_RETRIEVE_WITHOUT => '查询数据不存在',
    AdminException::ROLE_ROLE_CREATE_FAULT       => '新增角色失败',
    AdminException::ROLE_ROLE_UPDATE_FAULT       => '更新角色失败',
    AdminException::ROLE_ROLE_DELETE_FAULT       => '删除角色失败',
    AdminException::ADMIN_ADMIN_DELETE_INVALID   => '禁止对超级管理员角色操作',
    AdminException::EXISTS_ADMIN_ROLES_SUB       => '存在子角色，无法删除',
    AdminException::MENU_MENU_CREATE_FAULT       => '新增菜单失败',
    AdminException::MENU_MENU_UPDATE_FAULT       => '更新菜单失败',
    AdminException::EXISTS_ADMIN_MENUS_SUB       => '存在子菜单，无法删除',
    AdminException::ADMIN_ADMIN_CREATE_SUCCESS   => '新增用户成功',
    AdminException::ADMIN_ADMIN_CREATE_FAULT     => '新增用户失败',
    AdminException::FORBID_ADMIN_USERS_UPDATE    => '禁止对超级管理员用户操作',
    /**Admin--END--**/
    AdminException::ADMIN_ADMIN_SYSTEM_UNKNOWN   => '系统内部错误',
];
